@if(Session::has('success'))
    <div class="alert alert-success" role="alert">
        <strong>成功！</strong>{{Session::get('success')}}
        <button type="button" class="close" data-dismiss="alert">
            <span aria-hidden="true">&times;</span>
            <span class="sr-only">Close</span>
        </button>

    </div>
@endif

@if(Session::has('error'))
    <div class="alert alert-success" role="alert">
        <strong>失败！</strong>{{Session::get('error')}}
        <button type="button" class="close" data-dismiss="alert">
            <span aria-hidden="true">&times;</span>
            <span class="sr-only">Close</span>
        </button>

    </div>
@endif